﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace ThesisSystem.Models
{
    public class ThesisType
    {
        [Key]
        [Display (Name="类型值")]
        public int TypeID { get; set; }

        [DisplayName("论文类型")]
        [StringLength  (100)]
        [Required (ErrorMessage="*")]
        public string TypeName { get; set; }

        //一种论文类型对应多张评卷
      //  public virtual ICollection<Marking> Markings { get; set; }
    }
}